| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

TargetDescriptor.h
1 // TargetDescriptor.h
3 //
5
6 namespace nkGraphics
7 {
13 class TargetDescriptor final
14 {
15 public :
16
20 TargetDescriptor () noexcept ;
27 TargetDescriptor (Texture* target) noexcept ;
35 TargetDescriptor (Texture* target, unsigned int indexInTextureArray) noexcept ;
43 TargetDescriptor (Texture* target, unsigned int indexInTextureArray, unsigned int mipIndex) noexcept ;
44
45 public :
46
47 Texture* _target ;
48 unsigned int _indexInTextureArray ;
49 unsigned int _mipIndex ;
50 } ;
51 }
nkGraphics::TargetDescriptor::_mipIndex
unsigned int _mipIndex
If the texture has mips, the mip to render to.
Definition: TargetDescriptor.h:49
nkGraphics::Texture
A texture used for rendering, hosted on GPU.
Definition: Texture.h:12
nkGraphics::TargetDescriptor::_target
Texture * _target
The target texture to use.
Definition: TargetDescriptor.h:47
nkGraphics::TargetDescriptor::_indexInTextureArray
unsigned int _indexInTextureArray
If the texture is an array, the index, in the array, of the texture to render to.
Definition: TargetDescriptor.h:48
nkGraphics::TargetDescriptor::TargetDescriptor
TargetDescriptor() noexcept
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::TargetDescriptor
Describes how a target should be addressed during rendering.
Definition: TargetDescriptor.h:14